<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
   <base href="<%=basePath%>">
    <title>修改密码</title>
    
    <meta name="viewport" content="width=device-width,initial-scale=1" />
	<link rel="stylesheet" type="text/css" href="<%=path %>/css/f/navs.css">
	<link rel="stylesheet" type="text/css" href="<%=path %>/css/f/default.css">
    <link rel="stylesheet" type="text/css" href="<%=path %>/css/f/stuviewa.css">
   	<script src="js/jquery.min.js"></script>
	<!--<script src="http://static.runoob.com/assets/jquery-validation-1.14.0/dist/jquery.validate.min.js"></script>
    <script src="http://static.runoob.com/assets/jquery-validation-1.14.0/dist/localization/messages_zh.js"></script>
    <script src="http://cdn.static.runoob.com/libs/jquery/1.10.2/jquery.min.js"></script> -->
	<script src="js/f/default.js"></script>
    <!-- <script>
    	$.validator.setDefaults({
			submitHandler: function() {
			  
			}
		});
		$().ready(function() {
			$("#signupForm").validate({
				rules: {
					pwd: {
						required: true,
						minlength: 5,
						maxlength:16
					},
					password: {
						required: true,
						minlength: 5,
						maxlength:16
					},
					confirm_password :{
						required: true,
						minlength: 5,
						maxlength:16,
						equalTo: "#password"
					}
				},
				messages: {
					pwd:{
						required: "请输入密码",
	        			minlength: "密码长度不能小于 5 个字母",
						maxlength:"密码长度不能大于16个字母"
					},
					password:{
						required: "请输入密码",
	        			minlength: "密码长度不能小于 5 个字母",
						maxlength:"密码长度不能大于16个字母"
					},
					confirm_password:{
						required: "请输入密码",
						minlength: "密码长度不能小于 5 个字母",
						equalTo: "两次密码输入不一致"
					}
				}
			});
		});
    </script> -->
  </head>
  <!--修改密码-->
  <body>
  	<div class="all">
		<jsp:include page="/nav.jsp"></jsp:include>
		<div class="rightall float-left">
            <div class="already">
            	<div class="already-title">
					<div class="left">修改密码</div> 
					<input type="hidden" value="${error_msg }" name="errorMsg" />
            	</div>
					<div class="content">
                        <form id="signupForm" action="main/changePwd.do" method="GET">
                        	<div class="content_divbox">
                        		<div>
                        		    <label>旧密码： </label><input class="content_input" id="pwd" type="password"   name="oldPass" />
                        		</div>
                        		<div>
                        			<label>新密码：</label><input class="content_input"  id="password" type="password" name="password"/>
                        		</div>
                        		<div>
                        			<label>确认密码： </label><input class="content_input" id="confirm_password" type="password" name="cpassword"/>
                        		</div>
                        		<div>
                        			<label></label>
                        			<input class="btn-style submit" type="submit" value="保存" />
                        		</div>
                        	</div>
                	</form>
            	</div>
           	</div>
        </div>
        <div class="float-clear"></div>
    </div>
    </body>
